package com.djmw.mouse.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.djmw.mouse.entity.CompanyTrade;

public interface CompanyTradeDao extends PagingAndSortingRepository<CompanyTrade, Long>,
        JpaSpecificationExecutor<CompanyTrade> {

	Page<CompanyTrade> findByCompanyId(Long id, Pageable pageRequest);

}
